<script setup lang="ts">
  // 长按消息
  const longPressCallback = () => {
    console.log('长按消息')
  }
</script>

<template>
  <div class="long-press" v-long-press="longPressCallback">
    <slot></slot>
  </div>
</template>

<style scoped></style>
